.class public Lcom/ryg/dynamicload/DLBasePluginService;
.super Landroid/app/Service;

# interfaces
.implements Lcom/ryg/dynamicload/DLServicePlugin;


# static fields
.field public static final TAG:Ljava/lang/String; = "DLBasePluginService"


# instance fields
.field protected mFrom:I

.field private mPluginPackage:Lcom/ryg/dynamicload/internal/DLPluginPackage;

.field private mProxyService:Landroid/app/Service;

.field protected that:Landroid/app/Service;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/app/Service;-><init>()V

    iput-object p0, p0, Lcom/ryg/dynamicload/DLBasePluginService;->that:Landroid/app/Service;

    const/4 v0, 0x0

    iput v0, p0, Lcom/ryg/dynamicload/DLBasePluginService;->mFrom:I

    return-void
.end method


# virtual methods
.method public attach(Landroid/app/Service;Lcom/ryg/dynamicload/internal/DLPluginPackage;)V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService attach"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    iput-object p1, p0, Lcom/ryg/dynamicload/DLBasePluginService;->mProxyService:Landroid/app/Service;

    iput-object p2, p0, Lcom/ryg/dynamicload/DLBasePluginService;->mPluginPackage:Lcom/ryg/dynamicload/internal/DLPluginPackage;

    iget-object v0, p0, Lcom/ryg/dynamicload/DLBasePluginService;->mProxyService:Landroid/app/Service;

    iput-object v0, p0, Lcom/ryg/dynamicload/DLBasePluginService;->that:Landroid/app/Service;

    const/4 v0, 0x1

    iput v0, p0, Lcom/ryg/dynamicload/DLBasePluginService;->mFrom:I

    return-void
.end method

.method protected isInternalCall()Z
    .locals 1

    iget v0, p0, Lcom/ryg/dynamicload/DLBasePluginService;->mFrom:I

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public onBind(Landroid/content/Intent;)Landroid/os/IBinder;
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onBind"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v0, 0x0

    return-object v0
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onConfigurationChanged"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onCreate()V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onCreate"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onDestroy()V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onDestroy"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onLowMemory()V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onLowMemory"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onRebind(Landroid/content/Intent;)V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onRebind"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onStartCommand(Landroid/content/Intent;II)I
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onStartCommand"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v0, 0x0

    return v0
.end method

.method public onTaskRemoved(Landroid/content/Intent;)V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onTaskRemoved"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onTrimMemory(I)V
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onTrimMemory"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public onUnbind(Landroid/content/Intent;)Z
    .locals 2

    const-string/jumbo v0, "DLBasePluginService"

    const-string/jumbo v1, "DLBasePluginService onUnbind"

    invoke-static {v0, v1}, Lcom/ryg/utils/LOG;->d(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v0, 0x0

    return v0
.end method
